/*
 * @Author: 葛文杰
 * @Date: 2021/2/2 13:56
 * @Description: egg router 报表信息
 */

module.exports = app => {
    const { controller, router } = app;
    const { reportInfo } = controller;

    router.post('/report/getReportList', reportInfo.getReportList);
    router.post('/report/getReportInfo', reportInfo.getReportInfo);
    router.post('/report/insertReportInfo', reportInfo.insertReportInfo);
    router.post('/report/updateReportInfo', reportInfo.updateReportInfo);
    router.post('/report/deleteReportInfoById', reportInfo.deleteReportInfoById);
};
